/*
 * Title:        CloudScheduler Toolkit
 * Description:  a Toolkit for Modeling and Simulation of Job Scheduling and Resource Provisioning in Cloud System
 * Licence:      GPL - http://www.gnu.org/copyleft/gpl.html
 * Author:       Fuhui Wu
 *
 * Copyright (c) 2013-2014, The National University of Defense Technology, China
 */

package org.nudt.jCloud.example.basic;

import org.nudt.jCloud.workflow.AHP;

public class AHPTest {

	public static void main(String[] args) {
		AHP ahp = new AHP();
		int criteria_S=3;
		double[][] priorities = {{1, 3,(double)7},{(double)1/3, 1, 5},{(double)1/7,(double) 1/5,1}};
		ahp.init(criteria_S, priorities);
		ahp.calCriteriaWeight();
		System.out.println(ahp.consistencyVerify());
	}

}
